const path = require("path")
const os = require('os');

export const MINSIZEWIN = 'MINSIZEWIN';
export const RENDERPROCESSCALL = 'RENDERPROCESSCALL';
export const MAXSIZEWIN = 'MAXSIZEWIN';
export const CLOSE = 'CLOSE';
export const SHOWDIALOG = 'SHOWDIALOG';
export const DOWNLOADFILE = 'DOWNLOADFILE';
export const GET_VIDEO_INFO = 'GET_VIDEO_INFO';
export const SELECT_FILES = 'SELECT_FILES';
export const SELECT_FILES_CALLBACK = 'SELECT_FILES_CALLBACK';
export const DOWNLOAD_PATH = path.resolve(os.homedir(), 'Download/')
export const OPEN_CALL_WINDOW = 'OPEN_CALL_WINDOW';
export const CLOSE_CALL_WINDOW = 'CLOSE_CALL_WINDOW';
export const CALL_WINDOW_CLOSE = 'CALL_WINDOW_CLOSE';
export const CALL_WINDOW_CLOSE_REPLY = 'CALL_WINDOW_CLOSE_REPLY';
export const GET_VIDEO_INFO_CALLBACK = 'GET_VIDEO_INFO_CALLBACK';
export const CHECK_FILE_EXIST = 'CHECK_FILE_EXIST';
export const GET_FILE_INFO_CALLBACK = 'GET_FILE_INFO_CALLBACK';
export const END_CALL_WINDOW = 'END_CALL_WINDOW'
export const SUPPORT_IMAGE_TYPE = ['png', 'jpg','jpeg','JPEG', 'gif', 'PNG', 'JPG', 'GIF'];
export const SEND_DATA_TO_WINDOW = 'SEND_DATA_TO_WINDOW';
export const OPEN_CHAT_WINDOW = 'OPEN_CHAT_WINDOW';
export const CLOSE_CHAT_WINDOW = 'CLOSE_CHAT_WINDOW';
export const END_CHAT_WINDOW = 'END_CHAT_WINDOW';
export const OPEN_IMG_WINDOW = 'OPEN_IMG_WINDOW';
export const CHAT_WINDOW_CLOSE_REPLY = 'CHAT_WINDOW_CLOSE_REPLY';
export const CLOSE_IMG_WINDOW = 'CLOSE_IMG_WINDOW';
export const END_IMG_WINDOW = 'END_IMG_WINDOW';
export const IMG_WINDOW_CLOSE_REPLY = 'IMG_WINDOW_CLOSE_REPLY'
export const TERMINATE_VIDEO_CONVERSION = 'TERMINATE_VIDEO_CONVERSION';
export const VIDEO_FFPEG = 'VIDEO_FFPEG';
export const AUDIO_FFPEG = 'AUDIO_FFPEG';
export const SELECT_DIR = 'SELECT_DIR';
export const SELECT_DIR_CALLBACK = 'SELECT_DIR_CALLBACK';
export const VIEW_DIR = 'VIEW_DIR';

export const SDK_APP_ID = ''; //公有云SDK app id


// module.exports = {
// 	OPEN_CHAT_WINDOW,
// 	CLOSE_CHAT_WINDOW,
// 	END_CHAT_WINDOW,
// 	CHAT_WINDOW_CLOSE_REPLY,
// 	SEND_DATA_TO_WINDOW,
//     MINSIZEWIN,
//     RENDERPROCESSCALL,
//     MAXSIZEWIN,
//     CLOSE,
//     SHOWDIALOG,
//     DOWNLOADFILE,
//     GET_VIDEO_INFO,
//     SELECT_FILES,
//     SELECT_FILES_CALLBACK,
//     GET_FILE_INFO_CALLBACK,
//     DOWNLOAD_PATH,
//     OPEN_CALL_WINDOW,
//     CALL_WINDOW_CLOSE,
//     CALL_WINDOW_CLOSE_REPLY,
//     GET_VIDEO_INFO_CALLBACK,
//     CLOSE_CALL_WINDOW,
//     CHECK_FILE_EXIST,
//     SUPPORT_IMAGE_TYPE,
//     END_CALL_WINDOW,
//     SDK_APP_ID,
// 	OPEN_IMG_WINDOW,
// 	CLOSE_IMG_WINDOW,
// 	END_IMG_WINDOW,
// 	IMG_WINDOW_CLOSE_REPLY,
//     VIDEO_FFPEG,
//     TERMINATE_VIDEO_CONVERSION
// }